package pl.edu.agh.io.sylvia.entity;


public class Group extends DBObject {
	private String name;
	private long lastIndex;
	private Server server = null;
	
	
	public Group(Integer id, String name, long lastIndex, Server server) {
		super(id);
		this.name = name;
		this.lastIndex = lastIndex;
		this.server = server;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getLastIndex() {
		return lastIndex;
	}
	public void setLastIndex(long lastIndex) {
		this.lastIndex = lastIndex;
	}
	public Server getServer() {
		return server;
	}
	public void setServer(Server server) {
		this.server = server;
	}
}
